﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<B10.Models.ContactModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Juntos.pl - Kontakt
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
<script src="../../Scripts/MicrosoftAjax.js" type="text/javascript"></script>

    <script src="../../Scripts/MicrosoftMvcAjax.js" type="text/javascript"></script>

    <script src="../../Scripts/MicrosoftMvcValidation.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="ui-corner-all ui-helper-clearfix alternate-header" id="tabs">
        <div class="ui-widget-header-title">
            Kontakt
        </div>
    </div>
    <div class="content-wrapper center ui-widget-content ui-corner-all">
        <h4>
            Aby się z nami skontaktować wyślij wiadomość na adres <a title="wyślij email" href="mailto:kontakt@juntos.pl">
                kontakt@juntos.pl</a> lub skorzystaj z poniższego formularza.</h4>
        <%Html.EnableClientValidation(); %>
        <% using (Html.BeginForm())
           {%>
        <table width="100%">
            <tr>
                <td class="editor-label">
                    <%= Html.LabelFor(model => model.Email) %>
                </td>
                <td class="editor-field">
                    <%= Html.TextBoxFor(model => model.Email)%>
                    <%= Html.ValidationMessageFor(model => model.Email)%>
                </td>
            </tr>            
            <tr>
                <td class="editor-label">
                    <%= Html.LabelFor(model => model.Body) %>
                </td>
                <td class="editor-field">
                    <%= Html.TextAreaFor(model => model.Body,10,10,null)%>
                    <%= Html.ValidationMessageFor(model => model.Body)%>
                </td>
            </tr>
            <tr>
        <td colspan="2">
            <div class="right submit-button-holder">
                <button class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
                    type="submit" value="Wyślij">
                    <span class="ui-button-text">
                        Wyślij</span>
                </button>
            </div>
            <div class="clear">
            </div>
        </td>
    </tr>
        </table>
        <% } %>
    </div>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="LeftColumnContent" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="RightColumnContent" runat="server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="RightColumnBottomContent" runat="server">
</asp:Content>
